using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN ICategoriesServiceBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:28/09/2010 53:02:24</para>
	/// <para>Class Name: ICategoriesServiceBase</para>
	/// <para>Description: </para>
	///</summary>

	[ServiceContract]
	public partial  interface ICategoriesService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: Category_ID</para>
		/// <para>Output: CategoriesEntity</para>
		///</summary>
		[OperationContract]
		CategoriesEntity SelectOne(int Category_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of CategoriesEntity</para>
		///</summary>
		[OperationContract]
		List<CategoriesEntity> SelectAll();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDS();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of CategoriesEntity</para>
		///</summary>
		[OperationContract]
		List<CategoriesEntity> SelectAllFilter(string strFilter);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSFilter(string strFilter);
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: Save</para>
		/// <para>Input: CategoriesEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Save(CategoriesEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: SaveRet</para>
		/// <para>Input: CategoriesEntity</para>
		/// <para>Output: return entity if succeeded else return null</para>
		///</summary>
		[OperationContract]
		CategoriesEntity SaveRet(CategoriesEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of CategoriesEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void SaveList(List<CategoriesEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of CategoriesEntity</para>
		/// <para>Output: return list of entities if succeeded else return null list</para>
		///</summary>
		[OperationContract]
		List<CategoriesEntity> SaveListRet(List<CategoriesEntity> list);
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: Update</para>
		/// <para>Input: CategoriesEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Update(CategoriesEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of CategoriesEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void UpdateList(List<CategoriesEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: UpdateCategoryName</para>
		/// <para>Input: NewCategoryName,Category_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateCategoryName(string NewCategoryName,int Category_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: UpdateCategoryDescription</para>
		/// <para>Input: NewCategoryDescription,Category_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateCategoryDescription(string NewCategoryDescription,int Category_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: UpdateCategoryParent_ID</para>
		/// <para>Input: NewCategoryParent_ID,Category_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateCategoryParent_ID(int NewCategoryParent_ID,int Category_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: UpdateCateIndex</para>
		/// <para>Input: NewCateIndex,Category_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateCateIndex(int NewCateIndex,int Category_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: UpdateIsHomePage</para>
		/// <para>Input: NewIsHomePage,Category_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateIsHomePage(bool NewIsHomePage,int Category_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: UpdateDisplay</para>
		/// <para>Input: NewDisplay,Category_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateDisplay(bool NewDisplay,int Category_ID);
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: Delete</para>
		/// <para>Input: CategoriesEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Delete(CategoriesEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:28/09/2010 53:02:24</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: Category_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByID(int Category_ID);
		#endregion

		#region Select,delete by Category_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END CategoriesWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

